package com.samuel.basics.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.samuel.basics.cache.MybatisRedisCache;
import com.samuel.basics.entity.ArticleEntity;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 文章 Mapper 接口
 * </p>
 *
 * @author samuel
 * @since 2021-01-20
 */
@Mapper
@CacheNamespace(implementation= MybatisRedisCache.class, eviction= MybatisRedisCache.class)
public interface ArticleMapper extends BaseMapper<ArticleEntity> {

}
